Spread Windows Forms 7.0 Product Documentation
CopyTo(Style[],Int32) Method
See Also  Support Options
GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > StyleCollection Class > CopyTo Method : CopyTo(Style[],Int32) Method


array
An array of type Style serving as the destination for the copy action.
arrayIndex
The zero-based index at which to start placing the copied collection.

Glossary Item Box

Copies the items of the StyleCollection to a compatible one-dimensional array of type Style, starting at the specified zero-based index of the target array.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub CopyTo( _
   ByVal array() As Style, _
   ByVal arrayIndex As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As StyleCollection
Dim array() As Style
Dim arrayIndex As Integer
 
instance.CopyTo(array, arrayIndex)
C# 
public void CopyTo( 
   Style[] array,
   int arrayIndex
)

Parameters

array
An array of type Style serving as the destination for the copy action.
arrayIndex
The zero-based index at which to start placing the copied collection.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.